﻿<html class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>coolMeeting</title>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <link rel="stylesheet" href="/css/font.css">
    <link rel="stylesheet" href="/css/xadmin.css">
    <link rel="stylesheet" href="/styles/common.css"/>
    <!-- <link rel="stylesheet" href="./css/theme5.css"> -->
    <script src="/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="/js/xadmin.js"></script>
    <!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
    <!--[if lt IE 9]>
    <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
    <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script>
        // 是否开启刷新记忆tab功能
        // var is_remember = false;
    </script>
</head>
    <body>
<#--    导航栏-->
<#include 'top.ftl'>

        <div class="page-body">
<#include 'leftMenu.ftl'>
            <div class="page-content"  style="overflow: scroll;width: 80%">
                <div class="content-nav">
                    个人中心 > <a href="notifications">最新通知</a>
                </div>
                <table class="listtable">
                    <caption>
                        我要参加的会议:
                    </caption>

                    <tr class="listheader">
                        <th style="width:300px">会议名称</th>
                        <th>会议ID</th>
                        <th>起始时间</th>
                        <th>结束时间</th>
                        <th style="width:100px">操作</th>
                    </tr>
                    <#if mymeetings??>
                        <#list mymeetings as meeting>
                            <tr>
                                <td>${meeting.meetingname}</td>
                                <td>${meeting.roomid}</td>
                                <td>${meeting.starttime?string('yyyy:MM:dd HH:mm:ss')}</td>
                                <td>${meeting.endtime?string('yyyy:MM:dd HH:mm:ss')}</td>
                                <td>
                                    <a class="clickbutton" href="meetingdetails?meetingid=${meeting.meetingid}">查看详情</a>
                                </td>
                            </tr>
                        </#list>
                    </#if>


                </table>
                <table class="listtable">
                    <caption>
                        已取消的会议:
                    </caption>
                    <tr class="listheader">
                        <th style="width:300px">会议名称</th>
                        <th>会议室</th>
                        <th>起始时间</th>
                        <th>结束时间</th>
                        <th>取消原因</th>
                        <th style="width:100px">操作</th>
                    </tr>
                    <#if cancelMeetings??>
                        <#list cancelMeetings as cancelMeeting>
                            <tr>
                                <td>${cancelMeeting.meetingname}</td>
                                <td>${cancelMeeting.roomid}</td>
                                <td>${cancelMeeting.starttime?string("yyyy:MM:dd HH:mm:ss")}</td>
                                <td>${cancelMeeting.endtime?string("yyyy:MM:dd HH:mm:ss")}</td>
                                <td>${cancelMeeting.description}</td>
                                <td>
                                    <a class="clickbutton" href="meetingdetails?meetingid=${cancelMeeting.meetingid}">查看详情</a>
                                </td>
                            </tr>
                        </#list>
                    </#if>
                </table>
                
            </div>
        </div>

    </body>
</html>